<template>
  <div></div>
</template>

<script>
import * as _ from "lodash";
// import Fn from "./js/index";
export default {
  data() {
    return {};
  },
  mounted() {
    this.init();
  },
  methods: {
    init() {
      // 去掉 数组中 为假的数据  
      _.compact([0, 1, false, 2, "", 3]); // => [1, 2, 3]
    },
  },
};
</script>

<style></style>
